package itdfq.ydd.Creational_Pattern.jiandangongchang;


public class Client {
    public static void main(String[] args) throws Exception {
        System.out.println("18031210136  杨丹丹");
        Fruit fruit;
        String name = XMLUtilFurit.getName();
         fruit = FruitFactory.productFruit(name);
         fruit.eat();

    }
}
